﻿#region Creditos

/* Autor: Edilberto Sánchez Forero	*/
/* Email: esanchezfo@gmail.com		*/
/* Licencia: LGPL, Software Libre	*/
/* País: Colombia, Bogotá			*/

#endregion

#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;

#endregion


namespace ESF.Peer.Handlers
{
	public interface IRequestHandler<M>
	{
		#region Funciones
		
		void ProcessRequests 
		(
			List<M> pRequests
			,IPEndPoint pSenderIPEndPoint
			,IPEndPoint pForwarderIPEndPoint
			,out List<M> pResponses
			,out string pEventCode
			,out string pEventName
			,out List<object> pProcessedObjects
		);
		
		#endregion
	}
}
